<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>岗位授权</title>



<link rel="stylesheet" type="text/css" href="<%=basePath%>css/themes/bootstrap/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>css/themes/icon.css">
<link rel="stylesheet" href="<%=basePath%>css/zTreeStyle/zTreeStyle.css" type="text/css">
<script type="text/javascript" src="<%=basePath%>js/jquery.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery.ztree.all.min.js"></script>
<script type="text/javascript" src="<%=basePath%>rbac/role/js/roleDatagrid.js"></script>
</head>

<body>
	<table id="roleDatagrid"></table>
	<div id="roleDatagridMenus">
		<a href="javascript:void(0);" id="DataAdd" class="easyui-linkbutton" icon="icon-add" plain="true" onclick="addDialog();">添加</a>
		<a href="javascript:void(0);" id="DataAdd" class="easyui-linkbutton" icon="icon-edit" plain="true" onclick="editDialog();">修改</a>
		<a href="javascript:void(0);" id="DataAdd" class="easyui-linkbutton" icon="icon-remove" plain="true" onclick="delrole();">删除</a>
	</div>

	<div id="dialog" class="easyui-window" closed="true">
		<form id="folderForm">
			<table>
				<tbody id="folderAction">
					<tr>
						<td>岗位名称:</td>
						<td><input type="text" id="roleid" style="display:none;" /> <input type="text" id="rolename" /></td>
					</tr>
					<tr>
						<td>别称:</td>
						<td><input type="text" id="nickname" /></td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
	<div id="treeDialog" class="easyui-window" closed="true" style="padding:10px;">
		<ul id="tree" class="ztree"></ul>
	</div>
</body>
</html>
